// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import com.fowo.api.common.mybatis.handlers.SysFileListTypeHandler;
import com.fowo.api.sys.entity.SysFile;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.List;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * SupplierInvoiceOrderProduct
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "supplier_invoice_order_product", autoResultMap = true)
@Schema(title = "供应商发货单子表")
public class SupplierInvoiceOrderProduct implements Serializable {

  /**
   * 所属供应商发货单
   */
  @TableField(value = "`parent_supplier_invoice_order`")
  @JoinField(SupplierInvoiceOrder.class)
  @Schema(title = "所属供应商发货单")
  private Long parentSupplierInvoiceOrder;

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 所属发货单
   */
  @TableField(value = "`supplier_invoice_order_id`")
  @Schema(title = "所属发货单")
  private String supplierInvoiceOrderId;

  /**
   * 发货量
   */
  @TableField(value = "`send_quantity`")
  @Schema(title = "发货量")
  private Integer sendQuantity;

  /**
   * 总净重
   */
  @TableField(value = "`total_suttle`")
  @Schema(title = "总净重")
  private java.math.BigDecimal totalSuttle;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 总毛重
   */
  @TableField(value = "`total_gross`")
  @Schema(title = "总毛重")
  private java.math.BigDecimal totalGross;

  /**
   * 总体积
   */
  @TableField(value = "`total_volume`")
  @Schema(title = "总体积")
  private java.math.BigDecimal totalVolume;

  /**
   * 品名
   */
  @TableField(value = "`name`")
  @JoinField(Product.class)
  @Schema(title = "品名")
  private Long name;

  /**
   * SKU
   */
  @TableField(value = "`sku`")
  @Schema(title = "SKU")
  private String sku;

  /**
   * 税费
   */
  @TableField(value = "`tax_amount`")
  @Schema(title = "税费")
  private String taxAmount;

  /**
   * 箱数
   */
  @TableField(value = "`box_num`")
  @Schema(title = "箱数")
  private Integer boxNum;

  /**
   * 箱规名称
   */
  @TableField(value = "`box_list`")
  @Schema(title = "箱规名称")
  private String boxList;

  /**
   * 箱子毛重（kg）
   */
  @TableField(value = "`box_gross`")
  @Schema(title = "箱子毛重（kg）")
  private java.math.BigDecimal boxGross;

  /**
   * 箱子长(cm)
   */
  @TableField(value = "`box_length`")
  @Schema(title = "箱子长(cm)")
  private java.math.BigDecimal boxLength;

  /**
   * 箱子宽
   */
  @TableField(value = "`box_width`")
  @Schema(title = "箱子宽")
  private java.math.BigDecimal boxWidth;

  /**
   * 箱子高
   */
  @TableField(value = "`box_height`")
  @Schema(title = "箱子高")
  private java.math.BigDecimal boxHeight;

  /**
   * 单箱数量
   */
  @TableField(value = "`quantity_in_case`")
  @Schema(title = "单箱数量")
  private java.math.BigDecimal quantityInCase;

  /**
   * 总重量（kg）
   */
  @TableField(value = "`tatol_weight`")
  @Schema(title = "总重量（kg）")
  private java.math.BigDecimal tatolWeight;

  /**
   * 总体积重
   */
  @TableField(value = "`tatol_volume_weight`")
  @Schema(title = "总体积重")
  private java.math.BigDecimal tatolVolumeWeight;

  /**
   * 单品净重
   */
  @TableField(value = "`one_suttle`")
  @Schema(title = "单品净重")
  private java.math.BigDecimal oneSuttle;

  /**
   * 单品毛重
   */
  @TableField(value = "`one_gross`")
  @Schema(title = "单品毛重")
  private java.math.BigDecimal oneGross;

  /**
   * 包装规格（cm）长
   */
  @TableField(value = "`package_length`")
  @Schema(title = "包装规格（cm）长")
  private java.math.BigDecimal packageLength;

  /**
   * 包装规格（cm）宽
   */
  @TableField(value = "`package_weight`")
  @Schema(title = "包装规格（cm）宽")
  private java.math.BigDecimal packageWeight;

  /**
   * 包装规格（cm）高
   */
  @TableField(value = "`package_height`")
  @Schema(title = "包装规格（cm）高")
  private java.math.BigDecimal packageHeight;

  /**
   * 图片
   */
  @TableField(value = "`pic_url`", typeHandler = SysFileListTypeHandler.class)
  @Schema(title = "图片")
  private List<SysFile> picUrl;
}
